package com.victualler.core.config.permission.dto;

import com.victualler.core.config.permission.entity.RoleInfoDao;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Guoshichang
 * @since 21:22 on 2018/9/9.
 */
public class RoleGroupDto {
    /**角色没配置的权限列表*/
    private List<RoleInfoDao> allRoleList;
    /**角色已配置的权限列表*/
    private List<RoleInfoDao> myRoleList;

    public RoleGroupDto(List<RoleInfoDao> allRoleList, List<RoleInfoDao> myRoleList) {
        this.allRoleList = allRoleList;
        this.myRoleList = myRoleList;
    }

    public RoleGroupDto() {
        allRoleList = new ArrayList<>();
        myRoleList = new ArrayList<>();
    }

    public List<RoleInfoDao> getAllRoleList() {
        return allRoleList;
    }

    public void setAllRoleList(List<RoleInfoDao> allRoleList) {
        this.allRoleList = allRoleList;
    }

    public List<RoleInfoDao> getMyRoleList() {
        return myRoleList;
    }

    public void setMyRoleList(List<RoleInfoDao> myRoleList) {
        this.myRoleList = myRoleList;
    }
}
